package com.example.sakurasay.passwordbook.data.relations

import androidx.room.Embedded
import androidx.room.Relation
import com.example.sakurasay.passwordbook.data.entities.SharedAccount
import com.example.sakurasay.passwordbook.data.entities.SharedPassword

data class SharedPasswordWithAccounts(
    @Embedded val sharedPassword: SharedPassword,
    @Relation(
        parentColumn = "id",
        entityColumn = "password_id"
    )
    val accounts: List<SharedAccount>
)